﻿<fluent:RibbonWindow x:Class="SampleApplication2.Views.Shell.MainWindow"
                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns:fluent="clr-namespace:Fluent;assembly=Fluent"
                     xmlns:prism="http://www.codeplex.com/prism"
                     xmlns:avalon="http://schemas.xceed.com/wpf/xaml/avalondock"
                     xmlns:const="clr-namespace:SampleApplication2.Constants"
                     xmlns:commands ="clr-namespace:SampleApplication2.Commands"
                     xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
                     Title="MainWindow"
                     Height="350"
                     Width="525">
  <i:Interaction.Triggers>
    <i:EventTrigger EventName="Loaded">
      <commands:InteractiveCommand Command="{Binding LoadedCommand}" />
    </i:EventTrigger>
  </i:Interaction.Triggers>
  <DockPanel>
    <fluent:Ribbon DockPanel.Dock="Top"
                   prism:RegionManager.RegionName="{x:Static const:RegionNames.RibbonRegion}"
                   Margin="0,0,0,0"
                   Focusable="False" />
    <Grid Focusable="False">
      <avalon:DockingManager Grid.Row="0"
                             x:Name="DockingManager"
                             prism:RegionManager.RegionName="{x:Static const:RegionNames.DockingRegion}"
                             Focusable="False" />
    </Grid>
  </DockPanel>
</fluent:RibbonWindow>
